//
//  StoreCell.m
//  FKGW
//
//  Created by song ce on 2017/2/21.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import "StoreCell.h"
#import "UIView+Extend.h"
#import "AppDelegate.h"

@implementation StoreCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _storeCollectionV = [[StoreCollectionV alloc]initWithFrame:CGRectMake(0, 0, Main_Screen_Width, 0)];
    _storeCollectionV.isStore = YES;
    _storeCollectionV.isScrollEnabled = NO;
    [self addSubview:_storeCollectionV];
}

-(void)setDataSource:(NSMutableArray *)dataSource{
    _dataSource = dataSource;
    _storeCollectionV.dataSoure = _dataSource;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
